Skip to content

N°7920 - laminas-mail is an abandoned package, replace it with symfony/mailer#742

Merged
steffunky merged 3 commits intosupport/3.2from
feature/7920_replace_laminas
Sep 17, 2025
Merged

N°7920 - laminas-mail is an abandoned package, replace it with symfony/mailer#742
steffunky merged 3 commits intosupport/3.2from
feature/7920_replace_laminas

Conversation

@steffunky
Copy link
Member

Base information

Question Answer
Related to a SourceForge thead / Another PR / Combodo ticket? N°7920
Type of change? Bug fix

Symptom

Laminas-mail is an abandoned packaged. There will be no enhancement, no security fix and no support for PHP 8.4.

The goal of this pull-request is to replace Laminas-mail for outgoing email with Symfony Mailer.

Proposed solution (bug and enhancement)

Symfony Mailer is the recommended replacement, as we already use some of Symfony components we probably avoid bringing in more dependencies into iTop

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have tested all changes I made on an iTop instance
  • I have added a unit test, otherwise I have explained why I couldn't
  • Is the PR clear and detailed enough so anyone can understand digging in the code?

@CombodoApplicationsAccount CombodoApplicationsAccount added the internal Work made by Combodo label Aug 28, 2025
@steffunky steffunky self-assigned this Aug 28, 2025
@steffunky steffunky requested a review from rquetiez August 28, 2025 16:08
Copy link
Contributor

@rquetiez rquetiez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK
The migration of error reporting seems "too easy".
This should be tested manually with wrong configurations, to make sure that supportability will not be impacted (error messages should lead admins to the root cause)

# Conflicts:
#	composer.lock
#	lib/composer/autoload_files.php
#	lib/composer/autoload_psr4.php
#	lib/composer/autoload_static.php
#	lib/composer/installed.php
@steffunky steffunky merged commit 428d2c6 into support/3.2 Sep 17, 2025
@steffunky steffunky deleted the feature/7920_replace_laminas branch September 17, 2025 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Work made by Combodo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants